From a27151f6e48486a83b8fc926f602b8ea2a5f06e2 Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Fri, 24 Apr 2020 15:17:04 +0100 Subject: [PATCH] Use local requirejs Author: Rebecca N. Palmer Forwarded: not-needed Gbp-Pq: Name sphinx_local_requirejs.patch --- docs/source/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 39069d9..9963102 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -63,6 +63,8 @@ else: # nbsphinx options nbsphinx_allow_errors = True +nbsphinx_requirejs_path="file:///usr/share/javascript/requirejs/require.min.js" +nbsphinx_requirejs_options={"crossorigin":"anonymous"} ipython_warning_is_error = False # sphinxcontrib-spelling options spelling_word_list_filename = ['spelling_wordlist.txt', 'names_wordlist.txt'] -- 2.30.2